home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / UNIXLIB37B / !UnixLib37 / src / time / c / adjtime next >
Text File  |  1996-11-09  |  1KB  |  37 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /unixb/home/unixlib/source/unixlib37/src/time/c/RCS/adjtime,v $
  4.  * $Date: 1996/05/06 09:01:35 $
  5.  * $Revision: 1.2 $
  6.  * $State: Rel $
  7.  * $Author: unixlib $
  8.  *
  9.  * $Log: adjtime,v $
  10.  * Revision 1.2  1996/05/06 09:01:35  unixlib
  11.  * Updates to sources made by Nick Burrett, Peter Burwood and Simon Callan.
  12.  * Saved for 3.7a release.
  13.  *
  14.  * Revision 1.1  1996/04/19 21:35:00  simon
  15.  * Initial revision
  16.  *
  17.  * Written by Nick Burrett, 17 Feb 1996.
  18.  ***************************************************************************/
  19.  
  20. static const char rcs_id[] = "$Id: adjtime,v 1.2 1996/05/06 09:01:35 unixlib Rel $";
  21.  
  22. #include <sys/time.h>
  23.  
  24. /* This function speeds up or slows down the system clock in order to
  25.    make gradual adjustments in the current time.  This ensures that
  26.    the time reported by the system clock is always monotonically
  27.    increasing, which might not happen if you simply set the current
  28.    time.  Irrelevant on RISC OS.  */
  29.  
  30. int
  31. adjtime (const struct timeval *delta, struct timeval *olddelta)
  32. {
  33.   olddelta = olddelta;
  34.   delta = delta;
  35.   return -1;
  36. }
  37.